from rest_framework import serializers
from goods.models import GoodsCategory

class GoodCategorySerializer(serializers.ModelSerializer):
    # category = serializers.StringRelatedField(read_only=True)
    class Meta:
        model = GoodsCategory
        fields = "__all__"